package com.ruoyi.common.utils;

import java.util.concurrent.*;


public class Pools {

	public static ExecutorService me = Executors.newFixedThreadPool(5);

    public static ThreadPoolExecutor monitorExcute = null;

    public static ExecutorService modifyExcute = Executors.newFixedThreadPool(25);

    static{
        monitorExcute = new ThreadPoolExecutor(30,
                50,500L, TimeUnit.MILLISECONDS, new LinkedBlockingQueue<Runnable>());
        monitorExcute.allowCoreThreadTimeOut(true);
    }


}
